package com.szxy.utils;

import java.io.Serializable;

/**
 * @Auther:zwer
 * @Date:2019/9/12 15:47
 * @Description:com.szxy.utils
 * @Version:1.0
 * 封装用户登录后响应数据 Data
 **/
public class UserToken implements Serializable {
    private String token;
    private Long userid;
    private String username;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "UserToken{" +
                "token='" + token + '\'' +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                '}';
    }
}
